import javax.swing.*;

import java.awt.*;
import java.awt.event.*;

public class HotelButton extends JButton{
	private boolean built;
	public HotelButton(){
		built = false;
		ImageIcon icon = new ImageIcon("./menuButtons/hotelImage.jpg");
		this.setIcon(icon);
		setBorder(BorderFactory.createEmptyBorder(1,1,1,1));
	}
	public HotelButton(String imageName){
		ImageIcon icon = new ImageIcon(imageName);
		this.setIcon(icon);
		setBorder(BorderFactory.createEmptyBorder(1,1,1,1));
	}
	public void changeImageToBuilt(){
		this.setIcon(new ImageIcon("./menuButtons/hotelImage.jpg"));
	}
	public void changeImageToSale(){
		this.setIcon(new ImageIcon("./menuButtons/hotelImageClosed.jpg"));
	}
	
}
